package edu.qd.learn.newchapter.chapter03.relational.onetomany;

/**
 * @author 布衣
 */
public class Product {

    private int sno;

    private String name;

    private Brand brand;

    public Brand getBrand() {
        return brand;
    }

    public void setBrand(Brand brand) {
        this.brand = brand;
    }

    public int getSno() {
        return sno;
    }

    public void setSno(int sno) {
        this.sno = sno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Product [sno=" + sno + ", name=" + name + "]";
    }

}
